/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.common.dataset.support.reader;

import org.vacoor.nothing.common.dataset.DatasetException;
import org.vacoor.nothing.common.dataset.RecordConsumer;
import org.vacoor.nothing.common.dataset.support.poi.PoiReader;

import java.io.BufferedInputStream;

/**
 * @author vacoor
 */
public class POIDatasetReader extends XlsReader {
    @Override
    public void read(BufferedInputStream is, final RecordConsumer consumer) throws DatasetException {
        PoiReader.use(consumer).read(is);
    }
}
